package com.master.service.householder;

import com.master.controller.householder.CsHouseholderVO;

import java.util.List;
import java.util.Map;

/**
 * @author Heath.Que
 * @version 1.0
 * @classname
 * @description 顾客接口
 * @Date 2021/3/25 9:21
 **/
public interface HouseholdService {

    /**
     * @Description: 按条件查询住户
     * @Parameter: [params]
     * @Return: java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
     * @author: Heath.Que
     * @Date: 2021/5/28
     **/
    List<Map<String, Object>> getHouseholdersByCondition(Map<String, Object> condition);

    /**
     * @Description: 新增住户
     * @Parameter: [params]
     * @Return: java.lang.Integer
     * @author: Heath.Que
     * @Date: 2021/5/28
     **/
    Boolean addHouseholders(CsHouseholderVO csHouseholderVO);

    /**
     * @Description: 按房屋号新增住户记录
     * @Parameter: [params]
     * @Return: java.lang.Integer
     * @author: Heath.Que
     * @Date: 2021/5/28
     **/
    Boolean addHouseholdersByHouseId(CsHouseholderVO csHouseholderVO);

    /**
     * @Description: 新增住户记录
     * @Parameter: [params]
     * @Return: java.lang.Integer
     * @author: Heath.Que
     * @Date: 2021/5/28
     **/
    Boolean modifyHouseholders(CsHouseholderVO csHouseholderVO);

    /**
     * @Description: 删除住户记录
     * @Parameter: [params]
     * @Return: java.lang.Integer
     * @author: Heath.Que
     * @Date: 2021/5/28
     **/
    Boolean deleteHouseholders(List<Long> householderIds);
}
